﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
    /// <summary>
    /// 体尺服务接口
    /// </summary>
    public interface IBodySizeService
    {
        /// <summary>
        /// 添加体尺
        /// </summary>
        /// <param name="bodySize"></param>
        /// <returns></returns>
        Task<int> AddBodySize(BodySize bodySize);



       /// <summary>
       /// 获取体尺列表
       /// </summary>
       /// <param name="overBit"></param>
       /// <param name="SheepType"></param>
       /// <param name="BodySex"></param>
       /// <param name="pageIndex"></param>
       /// <param name="pageSize"></param>
       /// <returns></returns>
        Task<PageOutput<BodySize>> GetBodySize(string? overBit, int SheepType, int BodySex, int pageIndex, int pageSize);

       /// <summary>
       /// 删除体尺
       /// </summary>
       /// <param name="BodySizeId"></param>
       /// <returns></returns>
        int DelBodySize(int BodySizeId);

        /// <summary>
        /// 获取体型数据
        /// </summary>
        /// <param name="BodySizeId"></param>
        /// <returns></returns>
        BodySize GetFtBodySize(int BodySizeId);

       /// <summary>
       /// 更新体尺
       /// </summary>
       /// <param name="bodySize"></param>
       /// <returns></returns>
        Task<int> UpdaBodySize(BodySize bodySize);

       /// <summary>
       /// 批量删除体尺
       /// </summary>
       /// <param name="BodySizeIds"></param>
       /// <returns></returns>
        int DelRangeBodySize(List<int> BodySizeIds);
    }
}
